package hfut.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import hfut.example.dto.DishDto;
import hfut.example.entity.Dish;

public interface DishService extends IService<Dish> {
    //新增菜品及其口味
    public void saveWithFlavor(DishDto dishDto);
    //根据Id查询菜品信息与口味信息
    public DishDto getByIdWithFlavor(Long id);

    void updateWithFlavor(DishDto dishDto);
}
